#include "StdAfx.h"
#include "Helper.h"

CHelper::CHelper(void)
{
}

CHelper::~CHelper(void)
{
}

char* CHelper::ConverToChar(const CString &s, char* pAnsiString)
{
	int bufsize=s.GetLength()+1;
	wcstombs(pAnsiString,(LPCTSTR) s, bufsize);
	return pAnsiString;
}

WCHAR* CHelper::ConverToWChar( const char* s, WCHAR* str )
{
	mbtowc(str, s, 10 );
	return str;
}
